package com.jike.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student implements Serializable {

    public static final long serialVersionUID = -295976398382082292L;
    private int id;
    private String name;

    public void print() {
        System.out.println("bean 调用");
    }

}
